project( sim )
cmake_minimum_required( VERSION 2.6 )

set ( SRCS driver.cpp event_list.cpp )

set(Boost_ADDITIONAL_VERSIONS "1.46.1")
set(Boost_USE_STATIC_LIBS        ON)
set(Boost_USE_MULTITHREADED      ON)
find_package ( Boost COMPONENTS random )
#if(Boost_FOUND)
  include_directories ( ${Boost_INCLUDE_DIRS} )
  
  add_executable ( sim ${SRCS} )
  set_target_properties ( sim PROPERTIES COMPILE_FLAGS "-O3 -Wall")

  add_executable ( random random_sequence.cpp )
  set_target_properties ( random PROPERTIES COMPILE_FLAGS "-O3 -Wall")

  add_executable ( prng_tests prng_tests.cpp )
  set_target_properties ( prng_tests PROPERTIES COMPILE_FLAGS "-O3 -Wall")

#else (Boost_FOUND)
#  message (WARNING " Boost not found")
#endif (Boost_FOUND)





